﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

using Whoever.Health.Business.Entities;
using Whoever.Health.Website.Models;
using Whoever.Health.Website.Infrastructure;

namespace Whoever.Health.Website.Controllers
{
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            if (SessionState.LoggedInUser == null)
            {
                return RedirectToAction("Main", "Account");
            }
            return View();
        }
    }
}
